Systems and methods for secure voting

ABSTRACT

Methods, systems, and computer-readable media are provided for conducting an election. In one exemplary embodiment, there is provided a method for ensuring integrity of an electronic ballot. The method can include creating electronic ballots for voters based on votes received from the voters; digitally signing the electronic ballots; storing the signed electronic ballots; retrieving the signed electronic ballots from storage; verifying the digital signatures on the retrieved electronic ballots; and presenting the voters with validation pages derived from the retrieved electronic ballots, the validation pages including a user interface element for the voters to confirm that the retrieved electronic ballots accurately reflect their vote.

RELATED APPLICATIONS

This application is based upon and claims the benefit of priority from U.S. Provisional Patent Application No. 61/006,301, filed Jan. 4, 2008, the entire contents of which are incorporated herein by reference.

BACKGROUND

A. Technical Field

The present invention generally relates to computer security and, more particularly, for methods of implementing secure elections using networked computers.

B. Detailed Background

Computers can be used in a variety of different ways to conduct an election. For example, computers can be used to read punch cards or other paper-based ballots, and computers can also be used directly at a polling site where voters cast their vote using a computer. Computers placed at a polling site can store the votes locally, or they can transmit votes electronically across a network to a computer at another location, where the votes can be subsequently stored and counted.

Using computers to conduct an election introduces a number of efficiencies into the process. For example, computers can be easier for disabled persons to use than traditional polling booths. Electronic ballots can be more accurate than paper ballots because computers can record votes with near-perfect accuracy, rather than having human beings trying to discern voter intent from a punchcard. Further, votes can be tabulated much more quickly by a computer than by human beings or mechanical devices.

On the other hand, computers are susceptible to certain vulnerabilities that cause some apprehension about their use in a process as critical as an election. For example, doubts can arise about the integrity of votes cast at a computer. Mechanisms must be in place to ensure that a vote counted in an election was indeed actually cast by a voter and not manipulated by an attacker. Even assuming no one intentionally interferes with the integrity of an election, voters may have doubts that their electronic votes were accurately recorded. These voters may fear that their votes were inadvertently counted for the wrong election choice.

Using networked, rather than stand-alone, computers to conduct an election can introduce even further efficiencies into the election process. By centralizing certain processing at a server and using distributed voting terminals to communicate votes to the central server over a network, it is possible to reduce the potential for fraud. For example, by using one central server to store votes in a physically secure environment, the server may be more trustworthy than a number of dispersed voting terminals that have been handled by a number of different individuals.

However, transmitting data across any network generally leads to some security concerns. In the case of an election, a computer masquerading as a legitimate voting terminal could be used to cast any number of fraudulent votes. Further, a computer with access to the network could conduct a “snooping” attack and monitor a voter's choices in a given election. An attacker could also conduct a “spoofing” attack by presenting a web page on a voting terminal that makes the attacker's computer appear to be a central voting server.

Given the privacy concerns and potential for fraud discussed above, it is desirable to provide a comprehensive system for implementing secure elections using computers. It is further desirable to allow voters in an online election using a central server to accurately identify communications from the server as coming from the server and not a spoofing attacker. It is further desirable to allow voters to transmit network traffic that identifies the voters' choices to the server, while preventing an attacker on the network from being able to discern the choices.

SUMMARY

Consistent with the invention, there is provided methods and apparatus for ensuring the integrity of an electronic ballot, the method comprising the steps of creating electronic ballots for voters based on votes received from the voters; digitally signing the electronic ballots; storing the signed electronic ballots; retrieving the signed electronic ballots from storage; verifying the digital signatures on the retrieved electronic ballots; and presenting the voters with validation pages to confirm their votes, the validation pages being based on the retrieved electronic ballots.

Consistent with the invention, there is also provided methods and apparatus for identifying an election server to a voter over a network, the method comprising the steps of requesting a credential from the voter, the credential having been provided to the voter with verification data unique to the voter using a secure channel, presenting the verification data to the voter if the voter supplies the credential in response to the request, receiving, from the voter, acknowledgement data unique to the voter, altering the verification data using the acknowledgement data received from the voter, and identifying the election server to the voter by presenting the altered verification data to the voter over the network.

Consistent with the invention, there is also provided methods and apparatus for obscuring selections of voters in an on-line election, the method comprising the steps of storing media files representing election elements available to the voters, the election elements including a first election element and the media files including a media file representing the first election element, generating a plurality of unique first election element identifiers for use by the voters to select the first election element, assigning the first election element identifiers to the voters, sending the voters their respective assigned first election element identifiers and the media file representing the first election element, receiving an element identifier from a first one of the voters, and determining that the first voter has selected the first election element if the received element identifier matches the assigned first election element identifier sent to the first voter.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as described. Further features and/or variations may be provided in addition to those set forth herein. For example, the present invention may be directed to various combinations and subcombinations of the disclosed features and/or combinations and subcombinations of several further features disclosed below in the detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, show certain aspects of the present invention and, together with the description, help explain some of the principles associated with the invention. In the drawings,

FIG. 1 is a block diagram of an exemplary election system consistent with certain aspects related to the present invention.

FIG. 2A is a block diagram of an exemplary voting terminal consistent with certain aspects related to the present invention.

FIG. 2B is a block diagram of an exemplary web server consistent with certain aspects related to the present invention.

FIG. 2C is a block diagram of an exemplary application server consistent with certain aspects related to the present invention.

FIG. 2D is a block diagram of an exemplary database server consistent with certain aspects related to the present invention.

FIG. 2E is a block diagram of an exemplary database mirror consistent with certain aspects related to the present invention.

FIG. 3 is an exemplary flowchart for describing detailed steps in a method consistent with certain aspects related to the present invention.

FIG. 4 illustrates an exemplary data structure consistent with certain aspects related to the present invention.

FIG. 5 is a block diagram of an exemplary media storage component consistent with certain aspects of the invention.

FIG. 6A is an exemplary block diagram of an HTML ballot consistent with certain aspects related to the present invention.

FIG. 6B is an exemplary block diagram of an HTML ballot consistent with certain aspects related to the present invention.

FIG. 7A is a block diagram of an exemplary voted electronic ballot consistent with certain aspects related to the present invention.

FIG. 7B is a block diagram of an exemplary voted electronic ballot consistent with certain aspects related to the present invention.

FIG. 8A is a block diagram of an exemplary validation page consistent with certain aspects related to the present invention.

FIG. 8B is a block diagram of an exemplary validation page consistent with certain aspects related to the present invention.

FIG. 9 is an exemplary flowchart for describing detailed steps in a method for identifying an election server to a voter over a network consistent with certain aspects related to the present invention.

FIG. 10 is a block diagram of an exemplary credential receiving and verifying component consistent with certain aspects related to the present invention.

FIG. 11A is a block diagram of exemplary trust token verification windows consistent with certain aspects related to the present invention.

FIG. 11B is a block diagram of exemplary trust token files consistent with certain aspects related to the present invention.

FIG. 11C is block diagram of exemplary signed trust tokens consistent with certain aspects related to the present invention.

FIG. 12 is an exemplary flowchart for describing detailed steps in a method for obscuring selections of voters in an on-line election consistent with certain aspects related to the present invention.

FIG. 13 is a block diagram of an exemplary election identifier providing component consistent with certain aspects of the present invention.

DETAILED DESCRIPTION

Reference will now be made in detail to the exemplary embodiments consistent with the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

FIG. 1 is a block diagram of an exemplary election system 100. Election system 100 may include a voting terminal 101-1 for use by a first voter, a voting terminal 101-2 for use by a second voter, a network 102, a web server 103, an application server 104, a database server 105, a database mirror server 106, and a network 107. Collectively, web server 103, application server 104, database server 105, database mirror server 106, and network 107 comprise a central election site 108. Networks 102 and 107 may each be any combination of wired or wireless computer networks. Networks 102 and 107 can be virtually any type of network, including a WAN such as the Internet, or a home- or office-based LAN. In one embodiment, network 102 is the Internet, and network 107 is a virtual private network (VPN) connecting the various servers in central election site 108. Of course, many more terminals 101-3 to 101-n may be included in system 100.

Voting terminals 101-1 and 101-2, web server 103, application server 104, database server 105, and database mirror 106 may be any suitable type of computer device such as a desktop or laptop computer, a commercial server, or a handheld device. Voting terminal 101-1 and 101-2, web server 103, application server 104, database server 105, and database mirror 106 may include one or more processors, as well as storage devices such as RAM, ROM, hard drives, CD/DVD, or flash drives. Methods consistent with the invention may be tangibly embodied on these storage devices as instructions for execution by the one or more processors. Voting terminals 101-1 and 101-2, web server 103, application server 104, database server 105, and database mirror 106 may also include various peripherals such as monitors, printers, keyboards, mice, and other devices.

Each of the components of system 100 shown in FIG. 1 represents a physical implementation of a logical component of system 100. However, the systems and methods disclosed herein can be embodied in many different combinations of hardware and software. Further, the systems and methods disclosed herein can be embodied in a geographically centralized or distributed manner.

Communication network 102 allows voting terminals 101-1 and 101-2 to communicate with the various servers in central election site 108, in particular application server 104. In one embodiment, communications from voting terminals 101 are sent to web server 103 using SSL (secure sockets layer) or TSL (transport layer security) protocol. Web server 103 then routes these communications across network 107 to application server 104.

For the sake of brevity and clarity, the discussion below centers on two voters, namely a first voter operating voting terminal 101-1, and a second voter operating voting terminal 101-2. However, in actual use, any number of voters may operate any number of voting terminals to participate in the election. In some embodiments, more than one voter will use a single voting terminal. The voters at voting terminals 101-1 and 101-2 can be distinguished by using credentials supplied to voters before the election.

Also for brevity and clarity, the discussion below relates to an election in a single town, “Bigtown,” in the year 2008. The election is for the Mayor of Bigtown, and two candidates are on the ballot for Mayor. The disclosed embodiment can also be used in elections with multiple candidates, multiple jurisdictions, and with ballot choices other than human candidates, such as referenda or initiatives.

Application server 104 can implement various processes to conduct an election, such as sending election data to voting terminals 101-1 and 101-2, and receiving data such as votes from voting terminals 101-1 and 101-2, through web server 103. Application server 104 can store votes on database server 105. Database mirror server 106 can store identical data as that on database server 105, to serve as a backup in case of malfunction. In one embodiment, database mirror server 106 is present in a different location than database server 105, to further mitigate the risk of data loss. Database mirror server 106 can use available replication techniques, such as mirroring and clustering, to provide a backup of database server 105.

FIG. 2A is a block diagram of an exemplary voting terminal 101. Voting terminals 101-1 and 101-2 share the architecture shown for voting terminal 101. Voting terminal 101 includes a web browser 201 for browsing web sites such as those available over the Internet. Voting terminal 101 also includes a security component 202 for encrypting communications to and from web browser 201. Security component 202 can provide secure sockets layer (SSL) or transport layer security (TSL) functionality to implement the secure communications for web browser 201. Thus, web browser 201 can use SSL or TSL to encrypt communications and securely communicate across an insecure network such as the Internet. In some embodiments, security component 202 will be integrated into web browser 201.

Voting terminal 101 also includes a receiving component 203 for receiving information over network 102, and a transmitting component 204 for transmitting information over network 102. Receiving component 203 may receive both encrypted communications for decryption by security component 202, and unencrypted communications. Similarly, transmitting component 204 may transmit both communications encrypted by security component 202, and unencrypted communications, over network 102.

FIG. 2B is a block diagram of web server 103. Web server 103 includes web server software 205, such as Apache HTTP Server. Web server software 205 can be used to provide a web site to which voting terminals 101-1 and 101-2 may connect over network 102. Web server 103 also includes a security component 206. Security component 206 provides services similar to security component 202, such as providing secure sockets layer (SSL) or transport layer security (TSL) functionality to web server software 205. Thus, security component 206 allows web server software 205 to encrypt communications and securely communicate across insecure networks. In some embodiments, security component 206 will be integrated into web server software 205.

Web server 103 also includes a receiving component 207 and a transmitting component 208. Receiving component 207 and transmitting component 208 function similarly to receiving component 203 and transmitting component 204 of voting terminal 101, respectively, including using security component 206 to communicate with voting terminals 101-1 and 101-2, and application server 104.

FIG. 2C is a block diagram of application server 104. Application server 104 includes a reference table access component 209 for correlating identifiers to candidates or other election choices, as detailed below. Application server 104 also includes election element identification media storage 210, for storing files such as pictures of candidates, or audio or video files that can be used to identify election candidates or other choices available to voters.

Application server 104 also includes a credential receiving and verifying component 211, an election identifier providing component 212, an election identifier receiving component 213, an election identifier interpreting component 214, an electronic ballot creation component 215, a digital signature component 216, an electronic ballot storing component 217, an electronic ballot retrieving component 218, a digital signature verification component 219, a validation page presenting component 220, and a vote tabulating component 221. These components can perform steps in a method 300, as discussed below with respect to FIG. 3.

Unless otherwise indicated, references herein to communications between application server 104 and voting terminals 101-1 and 101-2 may be assumed to be routed through web server 103. Further, communications between application server 104 and voting terminals 101-1 and 101-2 may be assumed to use encrypted SSL or TSL sessions. As discussed, the SSL or TSL sessions can be implemented using security component 202 on voting terminals 101-1 and 101-2, and security component 206 on web server 103.

FIG. 2D is a block diagram of database server 105. Database server 105 includes a ballot storing component 231 for storing ballots received from application server 104, and a ballot retrieving component 232 for retrieving the stored ballots and providing them to application server 104. Database server 105 also includes a reference table 233 for storing certain data used to conduct an election, as discussed below. Generally speaking, application server 104 will use reference table access component 209 to access reference table 233 on database server 105.

FIG. 2E is a block diagram of database mirror 106. Database mirror 106 includes a ballot storing component 241 for performing functions similar to those of ballot storing component 231 on database server 105, a ballot retrieving component 242 for performing functions similar to those of ballot retrieving component 232 on database server 105, and a reference table 243 for performing functions similar to those of reference table 233 on database server 105.

FIG. 3 is an exemplary flowchart 300 of a method consistent with the invention. Flowchart 300 illustrates a method for tabulating votes received from voters using election system 100. An election can be any organized process where individuals vote for one or more particular outcomes. Examples of elections include local or national public elections such as those for choosing elected officials or referenda on ballot initiatives. Other examples of elections include shareholders voting to elect corporate board members or approve corporate decisions, or even public voting for a winner of a contest on television or on the Internet. Voting in an election can be one person one vote, cumulative voting, or any other counting mechanism used to determine an outcome based on voter choices.

The electronic election begins at step S301. At step S301, credential receiving component 211 on application server 104 receives credentials from voters and verifies the credentials to identify the voters, as discussed below. Prior to the election, each voter has been assigned and provided or already knows (e.g. birth date) one or more credentials. Once the election begins, these credentials are used by application server 104 to verify the voters' identity.

A first voter using voting terminal 101-1 and a second voter using voting terminal 101-2 can access application server 104 through web server 103, and enter their credentials in response to a prompt displayed on voting terminals 101-1 and 101-2. While method 300 is discussed as occurring concurrently for both voters, method 300 can be implemented at different times for each voter.

At step S301, credential receiving and verifying component 211 on application server 104 receives credentials from the voters and verifies the credentials to identify the voters, as discussed below.

Step S301 begins when the first voter enters their assigned credentials into voting terminal 101-1, and the second voter enters their assigned credentials into voting terminal 101-2. Voting terminals 101-1 and 101-2 then send, using transmitting component 204, the respective credentials through web server 103 to application server 104.

Credential receiving and verifying component 211 can authenticate the first and second voters with the credentials received over the network, provided that the received credentials match the credentials supplied to the voters before the election. At this time, “trust tokens” can be used to identify central election site 108 to the voters at voting terminals 101-1 and 101-2. Trust tokens are discussed in more detail below with respect to FIG. 9. Generally, trust tokens will only be displayed to those voters who have successfully provided their credentials to identify themselves to application server 104.

At step S302, election identifier providing component 212 on application server 104 provides the identified first and second voters with election element identifiers corresponding to election elements, as discussed below.

After application server 104 receives credentials from each voter, election identifier providing component 212 assigns election identifiers to various election elements, such as a candidate A and a candidate B. Election elements can include any information about the election, including a voter's session identifier, the election itself, the races in the election, candidates in the election, ballot initiatives, referenda, or any other aspect of the election.

In one embodiment, the assigned election identifiers are “GUIDs,” or “Globally Unique Identifiers.” GUIDs are one example of an identifier complying with the Universally Unique Identifier (UUID) standard. UUIDs such as GUIDs are used to correlate to both a particular voting session and to a particular voter at a single point in time using reference table access component 209 and reference table 223.

As shown in FIG. 2C and FIG. 4, application server 104 may create unique values of GUIDs 401-A1, 401-B1, 401-A2, and 401-B2 using election identifier receiving component 212 and use the reference table access component 209 to store those values in the reference table 223 on database server 105. GUIDs are used to uniquely associate each election element for an individual voting interaction. While GUID values are generally 128-bit identifiers, for simplicity GUID values in reference table 233 are illustrated as 4-digit base-10 GUIDs.

In one embodiment, voters' identities are verified using reference table 233 by the credential(s) that was supplied or known to them in advance. As shown in reference table 233, if the first voter at voting terminal 101-1 uses credential “3518C” to identify themselves to application server 104, application server 104 can use “3518C” to identify those GUIDs which are associated with the first voter. Similarly, if the credential assigned to the second voter at voting terminal 101-2 is “7832R,” application server 104 can store values of “7832R” to identify the GUIDs which are associated with the second voter.

For example, candidate A GUID 400-A1 can be designated for use by the first voter at voting terminal 101-1 to select candidate A, and candidate B GUID 400-B1 can be designated for the first voter to select candidate B. Similarly, candidate A GUID 400-A2 and candidate B GUID 400-B2 can be designated for use by voter 2 at voting terminal 101-2, thus enabling candidates A and B as available choices for voter 2. Note that the first voter can use a different GUID than the second voter to refer to the same election element. For example, as shown in FIG. 4, the first voter would use candidate A GUID 400-A1, i.e. 4572, to refer to candidate A. In contrast, the second voter would use candidate A GUID 400-A2, i.e. 1024, to refer to the same candidate, i.e. candidate A.

As shown in FIG. 5, each election element can be represented in one or more stored media files on election element identification media storing component 210 of application server 104. For example, candidate A can be represented by a stored candidate A photo 500A, and candidate B can be represented by a stored candidate B photo 500B. Candidate A photo 500A and candidate B photo 500B are media files representing the election elements candidate A and candidate B, respectively. Similarly, the 2008 election for Bigtown is represented by Bigtown Election 2008 image 501, and the mayor race in Bigtown is represented by Bigtown Mayor Race image 502.

As shown in FIG. 4, reference table 233 includes a GUID column 401 that stores GUID values, thus correlating GUIDs to media files representing the different election elements. In addition, reference table 233 can be used to resolve election elements to a corresponding media file.

Candidate photos 500A and 500B can also include text image 503A and 503B, respectively. Text image 503A indicates that candidate A's name is “Bob Smith,” and text image 503B indicates that candidate B's name is “Pamela Jones.” However, candidate photos are not the only types of media files that can be used to represent candidates. For example, videos containing identifying information such as pictures of the candidate can be used to identify the candidates. Further, audio information can be stored in audio or video media files, such as a voice or moving video image saying the candidate's name. These alternate types of media files can be used in place of or in conjunction with candidate photos 500A and 500B to identify the candidates to the voters.

Application server 104 then creates a user-perceivable ballot such as an HTML ballot for both voters. FIGS. 6A and 6B, respectively, illustrate exemplary HTML ballots 600-1 for the first voter at voting terminal 101-1, and 600-2 for the second voter at voting terminal 101-2. The HTML source code for HTML ballot 600-1 includes values of the first voter's assigned GUIDs for each candidate, e.g. candidate A GUID 400-A1 and candidate B GUID 400-B1. Similarly, the HTML source code for HTML ballot 600-2 includes both candidate A GUID 400-A2 and candidate B GUID 400-B2. Application server 104 sends HTML ballot 600-1 over network 102 to voting terminal 101-1, and HTML ballot 600-2 to voting terminal 101-2.

Application server 104 separately sends candidate A photo 500A and candidate B photo 500B to voting terminals 101-1 and 101-2. HTML ballots 600-1 and 600-2 are displayed in web browsers 201 on voting terminals 101-1 and 101-2, concurrently with candidate A photo 500A and candidate B photo 500B. FIG. 6A illustrates a view of first HTML ballot 600-1 as it would appear on voting terminal 101-1, and FIG. 6B illustrates a view of second HTML ballot 600-2 as it would appear on voting terminal 101-2.

HTML ballot 600-1 and HTML ballot 600-2 may each be displayed with several images to enable the voters to understand the ballot. For example, candidate A photo 500A, candidate B photo 500B, Bigtown Election 2008 image 501, and Bigtown Mayor Race image 502 may all be displayed with HTML ballots 600-1 and 600-2. Images 602-1 and 602-2 are signed trust tokens, to be discussed later in greater detail.

The first voter at voting terminal 101-1 decides to vote for candidate A, and registers a selection with choice response element 601-1A corresponding to candidate A. Similarly, the second voter at voting terminal 101-2 decides to vote for candidate B, and registers a selection with choice response element 601-2B, corresponding to candidate B.

At step S303, election identifier receiving component 213 on application server 104 receives at least a portion of the election element identifiers as votes for the corresponding election elements, as discussed below.

For example, because the first voter at voting terminal 101-1 selected candidate A, voting terminal 101-1 will send the corresponding GUID values, i.e. candidate A GUID 401-A1 value of “4572”, back to application server 104 to indicate a vote for candidate A. Similarly, voting terminal 101-2 will send candidate B GUID 401-B2 value of “5517” back to application server 104, to indicate a vote for candidate B. Election identifier receiving component 213 receives the voted GUIDs over network 102. This technique allows voting terminals 101-1 and 101-2 to indicate their corresponding voting choices to application server 104 without allowing a snooping attacker to discern the voting choices of the first and second voters. Using GUIDS to obscure communications between voting terminal 101 and application server 104 is discussed in more detail below.

At step S304, election identifier interpreting component 214 on application server 104 interprets the received election element identifiers as votes for the corresponding election elements, as discussed below.

For example, election identifier interpreting component 214 can interpret the received GUID value “4572” voted by the first voter at terminal 101-1 (namely 401-A1) and see if that GUID value is a valid GUID for the first voter. Assuming that no failure due to an attack or other cause corrupts the transmission of the voted GUIDs, the GUID value received from the first voter will be “4572,” which matches candidate A GUID 401-A1. Election identifier interpreting component 214 reads reference table 233 using reference table access component 209. By reading reference table 233, election identifier interpreting component 214 is able to interpret the received GUID value as a vote for candidate A. Likewise, election identifier interpreting component 214 interprets the GUID value from the second voter as a vote for candidate B if the GUID value received from voting terminal 101-2 matches the candidate B GUID 401-B2 value, i.e. “5517.” In this case, the method proceeds to step S305.

However, if a voted GUID value is invalid, i.e. does not match one of the voter's assigned GUIDs, application server moves back to step S101. For example, if application server 304 receives a GUID value other than “4572” or “7897” from voting terminal 101-1, the method goes to back to step S101 for voting terminal 101-1, and new GUIDs are generated for each of the election elements for the first voter at voting terminal 101-1. Similarly, if a GUID value other than “1024” or “5517” is received from voting terminal 101-2, the method goes to step S101 for voting. terminal 101-2, and new GUIDs are assigned to the election elements. At this time, application server 104 will also log information about the invalid GUID such as the time the GUID was received and the identity of the voting terminal that sent the invalid GUID

Steps S305 to S310 may used to ensure that central election site 108 accurately records the received votes as electronic ballots. Thus, steps S305-S310 constitute a method 350 for ensuring the integrity of the electronic ballots. As discussed below, method 350 may be integrated into method 300, and steps S305-S310 will be discussed with respect to method 300. However, method 350 may be implemented independently of method 300 in various embodiments where it is desirable to ensure the integrity of an electronic ballot.

At step S305, electronic ballot creation component 215 on application server creates electronic ballots for the voters based on the received votes, as discussed below.

As shown in FIGS. 7A and 7B, electronic ballot creation component 215 will create a first electronic ballot 700-1 for the first voter at voting terminal 101-1, and a second electronic ballot 700-2 for the second voter at voting terminal 101-2. Note that electronic ballots 700-1 and 700-2 respectively constitute executed versions of HTML ballots 600-1 and 600-2, thus representing the choices the voters selected on their respective HTML ballots. In one embodiment, electronic ballots 700-1 and 700-2 comprise XML code.

Electronic ballots 700-1 and 700-2 may be stored in volatile memory such as RAM on application server 104, although those skilled in the art will appreciate that in some embodiments nonvolatile memory may be used in addition to or instead of RAM. For example, in virtual memory implementations, RAM may be used in conjunction with a hard drive on application server 104 to store electronic ballots 700-1 and 700-2. In other implementations, nonvolatile memory such as flash memory may be used instead of volatile RAM.

Application server 104 may store electronic ballots 700-1 and 700-2 using representations other than the GUIDs sent by voting terminals 101-1 and 101-2. For example, application server 104 may store database keys representing the candidates who were voted for. Application server 104 reads reference table 233 to translate the GUID values into the corresponding database key. For example, candidate_key_A may be the primary key for candidate A in database server 105, and candidate_key_B may be the primary key for candidate B in database server 105.

Thus, as shown in FIG. 7A, electronic ballot creation component 215 includes candidate key_A in selected election element field 702-1 of electronic ballot 700-1 for the first voter at voting terminal 100-1, because the first voter provided the candidate A GUID 401-A1 value of 4572 indicating a vote for candidate A. Similarly, electronic ballot creation component 215 includes candidate key_B in selected election element field 702-2 of electronic ballot 700-2 for the second voter at voting terminal 100-2, because the second voter provided the GUID 401-B2 value of 5517, indicating a vote for candidate B. Electronic ballots 700-1 and 700-2 also have race fields 701-1 and 701-2, respectively, to identify which race they correspond to. In this case, electronic ballots 701-1 and 701-2 are both voted ballots in the race for the mayor of Bigtown.

Fields 701 and 702 may be conceptualized as a “base” electronic ballot, as fields 701 and 702 generally include stored information relevant to the election itself, e.g. the voter's choice in a given race. In some embodiments, as discussed below in more detail, fields 703-706 are included in electronic ballots 700-1 and 700-2 for encryption purposes. Further, as discussed below, fields 707-709 may be included in electronic ballots 700-1 and 700-2 for digital signature purposes.

At step S306, digital signature component 216 on application server 104 digitally signs the electronic ballots, as discussed below.

Digital signature component 216 generates a first cryptographic hash, or message digest, of electronic ballot 700-1, and a second cryptographic hash, or message digest, of electronic ballot 700-2. In particular, the first cryptographic hash is a hash of fields 701-1 and 701-2, and the second cryptographic hash is a hash of fields 701-2 and 702-2. Thus, the cryptographic hashes are performed on the “base” electronic ballots represented by fields 701 and 702. These message digests can be created, for example, using SHA1 or other suitable hashing algorithms known to those skilled in the art.

The message digests serve as unique identifiers for the contents of electronic ballots 700-1 and 700-2, such that it is computationally infeasible to generate a different electronic ballot that will hash to the same message digest. Thus, these message digests can be used to ensure that the contents of electronic ballots 700-1 and 700-2 have not been altered.

Digital signature component 216 then creates digital signature 709-1 by encrypting the first message digest for electronic ballot 700-1 with an encryption key. In some embodiments, the encryption key used by digital signature component 216 at this step is a private key from a public/private key pair such as are used in RSA (Rivest, Shamir, Adelman) or DSA (digital signature algorithm). Digital signature component 216 then appends digital signature 709-1 to the encrypted electronic ballot 700-1. Similarly, digital signature component 216 creates digital signature 709-2 by encrypting the second message digest for electronic ballot 700-2 with the private key, and appends digital signature 709-2 to the encrypted electronic ballot 700-2.

While creating the digital signatures, digital signature component 216 also may append some information for the digital signatures to electronic ballots 700-1 and 700-2. For example, digital signature component 216 may append hash method identifiers 707-1 and 707-2, certificate serial numbers 708-1 and 708-2, and digital signatures 709-1 and 709-2.

At step S307, electronic ballot storing component 217 on application server 104 stores the signed electronic ballots, as discussed below.

Electronic ballot storing component 217 sends signed encrypted electronic ballots 700-1 and 700-2 over network 107 to database server 105. For redundant storage, either database server 105 or electronic ballot storing component 217 can send a copy of the signed encrypted electronic ballots 700-1 and 700-2 to database mirror 106. The signed electronic ballots can be stored in ballot holding areas 234 and 244 on database server 105 and database mirror 106, respectively. Ballot holding areas 234 and 244 are used to store the signed electronic ballots until the ballots are verified by a voter, as discussed below.

Ballot storing components 231 and 241 will generally store the signed encrypted ballots in nonvolatile storage such as a hard drive, although in many embodiments they will also be temporarily stored in RAM on database servers 105 and 106 before being moved to the nonvolatile storage. Once the signed electronic ballots have been stored on database server 105, application server 104 may delete part or all of the electronic ballots.

By eliminating the electronic ballots from any volatile or nonvolatile storage on application 104, it will be possible to prove that the electronic ballots stored on database server 105 accurately reflect the choices received from the voters at step S303. Immediately after deleting the electronic ballots, an auditor may inspect application server 104 to ensure that no electronic ballots are remaining in volatile or nonvolatile storage. In some embodiments, not only are the electronic ballots themselves wiped from application server 104, but any election data, such as data from reference table 233, may be completely eliminated from application server 104.

At step S308, electronic ballot retrieving component 218 on application server 104 retrieves the signed electronic ballots from storage. For example, shortly after storing the signed, encrypted electronic ballots 700-1 and 700-2, electronic ballot retrieving component 218 can retrieve ballots 700-1 and 700-2 from ballot holding area 234 on database server 105 to subsequently verify their integrity on database server 105. In some embodiments, each electronic ballot is retrieved and verified immediately after the electronic ballot is deleted from memory on application server 104.

At step S309, digital signature verification component 219 on application server 104 verifies the digital signatures on the retrieved electronic ballots, as discussed below.

Digital signature verification component 219 performs a first cryptographic hash of electronic ballot 700-1. In some embodiments, the hash will be performed on the base electronic ballot, e.g. fields 701-1 and 701-2. Digital signature verification component 219 also decrypts first digital signature 709-1 using the public key from the public/private key pair to obtain a first message digest for electronic ballot 700-1.

The first cryptographic hash is compared to the first message digest, and if a match is obtained, digital signature verification component 219 has verified that electronic ballot 700-1 has remained intact since originally being signed by application server 104. Digital signature verification component 219 performs a similar process for electronic ballot 700-2, generating a second cryptographic hash of electronic ballot 700-2 and comparing the second cryptographic hash with a second message digest obtained by decrypting digital signature 709-2.

For electronic ballots that are verified to be intact, the method proceeds to step S310 to allow the voters to validate their choices. However, if a message digest does not match the calculated cryptographic hash, this indicates that a particular ballot was improperly stored or altered since the digital signature was appended at step S309. In this case, the method returns to step S301, and the voter is given another opportunity to cast their vote.

In some embodiments, the method does not return to step S301, and the voter may not be allowed to cast another vote. In other embodiments, the voter may have to take other steps to participate in the election. For example, the voter may have to present physical identification to receive a new set of credentials before returning to step S301. It is also useful to store certain information if the decrypted message digest does not match the calculated hash, such as voter credentials and identification, the time when the electronic ballot was initially stored on database server 105, and the time when the electronic ballot was retrieved from database server 105.

Note that because the electronic ballots were deleted from application server 104 at step S307, it is possible to be certain that the electronic ballots retrieved at step S308 are the ballots stored on database server 105, rather than a local copy on application server maintained on 104. This can be useful, for example, to prove to an auditor that database server 105 includes an accurate copy of the ballot created at step S307, and not a copy placed on application server 104 by an attacker. Further, because the messages digest will only properly decrypt with the public key if they were encrypted with the private key, it is possible to ensure that the electronic ballots were signed by application server 104, and not signed or altered by an attacker, provided that the private key from the public/private key pair has not been compromised.

At step S310, validation page presenting component 220 on application server 104 presents the voters with validation pages derived from the retrieved electronic ballots, as discussed below.

Validation page presenting component 220 receives electronic ballots 700-1 and 700-2, from digital signature verification component 219. As shown in FIGS. 8A and 8B, validation page presenting component 220 then creates a validation page 800-1 for the first voter at voting terminal 101-1 and a validation page 800-2 for the second voter at voting terminal 101-2. Validation page presenting component 220 then sends the respective validation pages to voting terminals 101-1 and 101-2.

Note that validation page presenting component 220 is creating validation pages 800-1 and 800-2 based on the electronic ballot retrieved from database server 105. Validation pages are not created based directly on the received GUIDs or other information stored on application server 104; indeed in some embodiments this would be impossible as all such data is erased from application server 104. Thus, it is possible to prove that validation pages accurately reflect the content of database server 105.

Voting terminal 101-1 displays validation page 800-1 to the first voter, and voting terminal 101-2 displays validation page 800-2 to the second voter. As shown, validation page 800-1 accurately reflects the choice of candidate A at voting terminal 101-1 by the first voter, and validation page 800-2 accurately reflects the choice of candidate B. The voters can click “Confirm my vote” input element 801-1 and 801-2 respectively, and voting terminals 101-1 and 101-2 will transmit information over network 102 indicating to application server 104 that the votes have been validated. In some embodiments, when a voter confirms their vote, the corresponding electronic ballot is moved from ballot holding area 234 to ballot storing component 231. Thus, ballot holding area 234 can store electronic ballots awaiting validation, and ballot storing component 231 can store only validated ballots. In other embodiments, application server 104 can simply mark ballots as validated once voters confirm their choices.

In certain embodiments, validation pages 800-1 and 800-2 can be presented for each decision a voter makes in a given election, thus allowing voters to do interim validations for each vote they cast in the election. For example, a voter would perform receive a validation page each time they voted for a candidate in a given race, and also for each referendum or other election choice. In other embodiments, a voter's selections across an entire election are combined into a single validation page. In such embodiments, validation pages 800-1 and 800-2 would include information reflecting each selection the voter made in the election.

When a voter does a final validation of their votes, multiple images representing election elements can be combined into an individual image that represents the combination of election elements. For example, a final validation page could include a single image file with a picture of a voter's chosen candidate for mayor along with a picture of the voter's chosen candidate for sheriff. When a final validation page is used, votes are not fully validated until the voter approves the collection of all of their votes in the final validation page.

In other embodiments, one or more audio files can be used in place of, or in conjunction with, image files to allow a voter to confirm their selections. The audio files may contain recordings of the voter's selected candidate, or recordings of other individuals, speaking the candidate's name. In some embodiments, final or interim validation images can be distorted to prevent detection of similar images based on file size or by calculating hash values of different files. In some embodiments, images contain watermarks to authenticate them as images provided by application server 104.

In some embodiments, validation pages 800-1 and 800-2 include a CAPTCHA that the voter must complete in order to validate their selection. As known in the art, a CAPTCHA is a challenge-and-response test to distinguish between a computer and a human, typically requiring that human users verify themselves by correctly identifying a series of distorted letters. If validation page 800-1 and 800-2 include audio files, the audio files may contain an audio CAPTCHA that must be completed to validate the votes.

In place of a CAPTCHA, an accessible audio identification technique can be used. In this technique, several audio files representing a single subject can be sent from application server 104 to voting terminals 101-1 and 101-2. Voters must correctly identify the common subject in order to validate their votes. For example, an audio file of a dog barking, and an audio file of a person training their dog to fetch can be presented to the voters. The voters must correctly choose “dog” as the subject out of a series of options in order to validate their votes. In some embodiments, the audio files are accompanied by images or videos representing the same subject as the audio files.

For voters who successfully validate their votes, application server 104 can separate any identification data for the voters (such as voting terminal column 402 from reference table 233, or any credentials information, user ID, or other information) from the voter's selections. Validated votes are stored by application server 104 on database 105, and any voter identification data can be discarded or stored in a separate database. In this way, it is impossible to use database 105 to associate voter identifications with voter selections, i.e. one cannot discern from database 105 which individuals voted for which candidates.

For voters who validated their votes by selecting “confirm my vote,” the method moves to step S310. For voters who instead select “Do not confirm my vote,” the method returns to step S301, and the voters are required to re-enter their credentials in order to proceed through method 300 again. In other embodiments, voters who do not confirm their votes are not required to re-enter their credentials, but simply return to step S308 where their ballots are retrieved again from storage and another opportunity is provided to confirm their vote. In still further embodiments, voters who do not confirm their vote return to step S302, where new GUIDs are generated and the voters cast their votes again. Regardless of how method 300 is implemented for voters who do not confirm their votes, the corresponding electronic ballots may be deleted from ballot holding area 234 when the voters do not confirm their votes.

At step S311, vote tabulating component 221 on application server 104 tabulates the validated votes on database server 105, as discussed below.

Vote tabulating component 221 retrieves the validated votes from database 105 and counting the votes for each candidate. Application server 104 can retrieve the votes in arbitrary order, such as by GUID. The tabulated results then can be used to determine an election winner.

Encrypted Electronic Ballots

As discussed above, digital signature component 216 may sign electronic ballots 700-1 and 700-2 at step S306. In some embodiments, electronic ballots 700-1 and 700-2 may be encrypted by encryption component 222 before they are digitally signed. In some embodiments, digital signature component 216 will use a symmetric encryption algorithm such as AES (advanced encryption standard), DES (data encryption standard), TwoFish, or 3DES (triple DES).

In some embodiments, encryption component 222 will encrypt “base” electronic ballot fields 701 and 702. To each electronic ballot, encryption component 222 will append encryption algorithm identifiers 703-1 and 703-2, key bit lengths 704-1 and 704-2, encryption keys 705-1 and 705-2, and encryption algorithm initialization vectors 706-1 and 706-2 in voted electronic ballots 700-1 and 700-2. In such embodiments, digital signatures 709-1 and 709-2 can be computed not only for “base” electronic ballot fields 701 and 702, but also for fields 703-706.

As understood by those skilled in the art, if digital signatures are computed for the encryption fields 703-706 as well as base electronic ballot fields 701 and 702, digital signature component 216 will need to calculate cryptographic hashes based on all of these fields to create a message digest that will match the decrypted digital signature at step S309. In this manner, it is possible to ensure not only that fields 701 and 702 have not been altered for a given electronic ballot, but also that appended encryption information 703-706 is also secure.

Remote RSA Encryption

In other embodiments, electronic ballots 700-1 and 700-2 are encrypted using public key encryption rather than symmetric encryption. In such embodiments, encryption component 222 will encrypt electronic ballots 700-1 and 700-2 using a public key from a public/private key pair. An election official can be provided with a corresponding private key using a secure channel. Thus, only the election official can decrypt the encrypted electronic ballots. In some embodiments, the election official will have the key on a computer-readable medium such as a flash drive, and application server 104 will be unable to decrypt the electronic ballots until the flash drive is installed in application server 104.

In such embodiments, once an auditor (or the election official) verifies at step S307 that election data has been deleted from application server 104, it is impossible for application server 104 to interpret the encrypted electronic ballots on database server 105. This provides an added layer of security by allowing the election official to do any required auditing of application server 104 while securely holding onto the private key. Once the auditing is completed, the election official can provide the private key, thus allowing application server 104 to begin decrypting the votes. This provides additional confidence that the validation pages presented to the voters at step S310 are indeed derived from secure electronic ballots on database server 105.

In some embodiments, application server 104 can also be wiped clean after step S310. In such embodiments, application server will need perform steps similar to steps S308 and S309, e.g. again retrieving and verifying the signed electronic ballots from storage before tabulating the votes, along with any required decryption of the electronic ballots. This can provide a second entry point for auditing the election. In embodiments where an election official controls a private decryption key, step S311 cannot take place until the election official agrees that application server 104 is secure, and provides the private key for decrypting the electronic ballots in ballot storing component 231. In some embodiments, application server 104 will display each digital signature to the election official or auditor to prove that each retrieved ballot is a ballot signed at step S306.

Trust Token

FIG. 9 is an exemplary flowchart 900 of a method consistent with the invention. Flowchart 900 illustrates a method for identifying application server 104 to a voter at voter terminal 101 using election system 100. The method can be implemented, for example, using credential receiving and verifying component 211 of application server 104.

As shown in FIG. 10, credential receiving and verifying component 211 may include a credential requesting component 1001, a token presenting component 1002, an acknowledgement data receiving component 1003, a token altering component 1004, and an altered token presenting component 1005. These components can be used to implement method 900, as discussed below.

Before step S901, the first voter and the second voter are provided with verification data such as a token, and one or more credentials. The credentials can be generated by application server 104, or can be generated simply by having each voter provide some information already known to each voter. For example, a credential could be a birth year, a 4-digit PIN, a password, or a membership number. The generated credential can be composed in whole or part of information supplied by each voter, such as the password or birth year. In a certain embodiments, multiple credentials are generated for each voter, so that each voter has at least a first credential and a second credential. For the sake of brevity, one credential will be discussed for each voter. The first voter has been provided a credential “3518C,” and the second voter has been provided credential “7832R.”

In one embodiment, a unique trust token is assigned to each voter, and is not chosen by the voters but rather by application server 104. As shown in FIG. 11A, trust tokens 1101-1 and 1101-2 for the first voter and the second voter can be, for example, a random combination of a shape and a color, along with a randomly generated four-digit number. For example trust token 1100-1 is a white circle with the number “9228,” and trust token 1100-2 is a black diamond with the number “3969.”

As shown in FIG. 11B, trust tokens 1101-1 and 1101-2 can be represented on application server 104 by stored trust token files 1108-1 and 1108-2, respectively. Trust tokens files 1108-1 and 1108-2 may include shape attributes 1104-1 and 1104-2, color attributes 1105-1 and 1105-2, random number attributes 1106-1 and 1106-2, and signature attributes 1107-1 and 1107-2. More broadly, trust tokens can be any information that can be unique to a voter, such as an alphanumeric code.

Before step S901, the first voter is provided the credential “3518C” with trust token 1101-1, and the second voter is provided credential “7832R” with trust token 1101-2. The first and second voters are provided with their respective trust tokens and credentials using a secure channel. For example, the secure channel could be an SSL or TSL session over network 102 between voting terminal 101 and application server 104. Alternately, the credentials and trust tokens could be sent to voters using a physical secure channel such as by mail or in person delivery. In one embodiment, voters are provided with credentials and trust tokens when they register to vote. Regardless of what secure channel is used to provide the credentials and tokens to the voters, the voters are informed to safeguard both their trust tokens and their credentials. In the discussion below it is assumed that each voter is provided with a single credential. However, in certain embodiments voters are provided with and required to enter multiple credentials.

At step S901, credential requesting component 1001 requests a credential from the voter, the credential having been provided to the voter along with a token using a secure channel, as discussed below.

Step S901 will usually occur once an election has actually begun, e.g. during step S301 of the method shown in flowchart 300. Voters access application server 104 through web server 103. Credential requesting component 1001 requests the credential from each voter, for example by sending voting terminals 101-1 and 101-2 a web form that requests that the first and second voters enter their respective credentials. Voting terminals 101-1 and 101-2 send the credentials “3518C” and “7832R,” respectively, to application server 104.

At step S902, token presenting component 1002 presents the token to the voters if the voters have supplied the credentials in response to the request, as discussed below.

For example, if the first voter at voting terminal 101-1 has correctly entered their previously received credential, token presenting component 1002 can present trust token 1101-1 to the first voter by sending trust token 1101-1 to voting terminal 101-1. Web browser 201 on voting terminal 101-1 can display trust token 1101-1 in trust token verification window 1100-1, as shown in FIG. 11A. At this point, because the voter has correctly entered their assigned credential, application server 104 can proceed knowing that the first voter is using voting terminal 101-1, and not an attacker masquerading as a legitimate voter. Similarly, because application server 104 has sent the correct trust token 1101-1 to voting terminal 101-1, the first voter knows that they are indeed communicating with application server 104, and not a spoofing attacker.

Also at step S902, a similar process is performed for the second voter at voting terminal 101-2. The second voter enters their credential into voting terminal 101-2, and receives their trust token 1101-2 from token presenting component 1002. Web browser 201 on voting terminal 101-2 displays trust token 1101-2 in trust token verification window 1100-2. In this manner, application server 104 knows it is communicating with the true second voter, and the second voter knows they are communicating with the true application server.

As shown in FIG. 9, if application server 104 receives the wrong credential for any voter, the method returns to step S901 and the voter is given another opportunity to enter the correct credential.

At step S903, acknowledgment data receiving component 1003 receives, from the voters, acknowledgement data unique to the voters, as discussed below.

The first voter at voting terminal 101-1 can verify trust token 1101-1 by entering acknowledgement data into trust token confirmation box 1102-1. The acknowledgement data can be any “signature” that the first voter wishes to enter. In one embodiment, the signature is a text string, although the signature could be virtually any data including media files such as images, video, or audio. The first voter decides to enter “I LOVE MY DOG” as their signature into trust token confirmation box 1102-1, and presses the enter key. Web browser 201 on voting terminal 101-1 sends the text string “I LOVE MY DOG” to acknowledgment data receiving component 1003. When acknowledgment data receiving component 1003 receives the text string, acknowledgment data receiving component 1003 adds the text string to signature attribute 1107-1 of trust token file 1108-1.

Also at step S903, a similar process is performed for the second voter at voting terminal 101-2. The second voter decides to enter the string “PURPLE” for their favorite color into trust token confirmation box 1102-2, and presses the enter key. Acknowledgment data receiving component 1003 receives the text string and adds it to signature attribute 1107-2 of trust token file 1108-2.

If, however, any voter does not agree that the trust token is correct, the voter can click “not my trust token.” In this case, as shown in FIG. 9, the method proceeds back to step S901 and the voter is given another opportunity to enter their credential.

In one embodiment, voters are informed when they receive their credentials and trust tokens that they will be prompted to enter acknowledgement data (signatures) into a web form when trying to participate in the electronic election. Thus, when the voters initially receive their credentials and trust token using the secure channel, they will know that when the time comes to vote in the electronic election, they should only enter the acknowledgement data if web browser 201 displays the correct trust token after they enter their credential.

At step S904, token altering component 1004 alters the tokens using the acknowledgement data received from the voters, as discussed below.

For example, token altering component 1004 may “sign” the trust tokens with the signatures by modifying the trust tokens to include the signatures. As shown in FIG. 11C, application server creates signed trust token 602-1 for the first voter at voting terminal 101-1, and creates signed trust token 602-2 for the second voter at voting terminal 602-2. Signed trust tokens 602-1 and 602-2 may comprise of a single image file combining the unsigned trust token with the signature, or may comprise multiple files.

At step S905, altered token presenting component 1005 identifies application server 104 to the voters by presenting the altered tokens to the voters over network 102, as discussed below.

In one embodiment, altered token presenting component 1005 continually identifies itself to the voters by presenting the altered tokens to the voters over network 102. During the course of the election, application server 104 may present any number of new web pages to the first voter by sending the web pages over network 102 to voting terminal 101-1. For example, when HTML ballot 600-1 is sent to voting terminal 101-1 at step S303 above, altered token presenting component 1005 can include signed trust token 602-1 in HTML ballot 600-1.

If there are multiple races in the election, application terminal 103 can send one HTML ballot for each race, or combine several races on one ballot. In any event, each time application server 104 sends a new web page to voting terminal 101-1, altered token presenting component 1005 embeds signed trust token 602-1 in the web page. In this manner, the first voter at voting terminal 101-1 can be certain that any web pages appearing in web browser 201 on voting terminal 101-1 were originally sent by application server 104, and not an attacker.

Similarly, as the second voter at voting terminal 101-2 proceeds through the election, signed trust token 602-2 is displayed at each step so that the second voter is certain they are actually communicating with application server 104. For example, when HTML ballot 600-2 is sent to voting terminal 101-2, altered token presenting component 1005 embeds signed trust token 602-2 into HTML ballot 600-2. Signed trust tokens 602-1 and 602-2 also appear in validation pages 800-1 and 800-2, respectively.

Data Obfuscation

FIG. 12 is an exemplary flowchart 1200 of a method consistent with the invention. FIG. 12 illustrates a method 1200 for obscuring selections of voters in an electronic election. The method may be implemented, for example, using election element identification media storing component 210, election identifier providing component 212, election identifier receiving component 213, and election identifier interpreting component 214 of application server 104.

As shown in FIG. 13, election identifier providing component 212 may include election element identifier generating component 1301, election element identifier assigning component 1302, and election element identifier sending component 1303. These components may, in conjunction with election element identification media storing component 210 and election identifier interpreting component 214, implement method 1200.

At step S1201, election element identification media storing component 210 stores media files representing election elements available to the voters, the election elements including a first election element and the media files including a media file representing the first election element, as discussed below.

Election element identification media storing component 210 stores election element identification media such as candidate A photo 500A and candidate B photo 500B shown in FIG. 5, as discussed above. The stored election element identification media can each correspond to an election element, such as candidate A and candidate B, respectively. Also as shown In FIG. 5, election identification media storing component 210 store election element identifiers for the election itself and for individual races, such as Bigtown Election 2008 image 501 and Bigtown Mayor Race image 502.

At step S1202, election element identifier generating component 1301 generates a plurality of unique first election element identifiers for use by the voters to select election elements, as discussed below.

Election element identifier generating component 1301 can generate a number of different GUIDs. In one embodiment, the election element identifiers are GUIDs generated by a system call to a Windows™ operating system. Other embodiments may use identifiers other than GUIDs, such as UUIDs, random numbers, or any other numbers. In some embodiments the identifiers will be unique to the voters, but all that is required is that the identifier be sufficient for application server 104 to be able to correlate the identifier to a particular election element for a particular voter. Once election element identifier generating component 1301 generates the GUIDs, they can then be assigned to the voters, as discussed below.

At step S1203, election identifier assigning component 1303 assigns the election identifiers to the voters, as discussed below.

Election identifier assigning component 1303 may assign the generated GUIDs to each of the voters, to provide each voter with a unique identifier for referring to each election element. One example of this technique is discussed above with respect to FIG. 4, as reference table 233 may identify photos of the candidates along with other media with GUIDS unique to each voter. For example, as shown in FIG. 4, an election element BIGTOWN_ELECTION_(—)2008 may be identified by a Bigtown_election_img file, stored in correspondence with GUID 401-1 6585 for the first voter at voting terminal 101-1, and stored in correspondence with GUID 401-2 1794 for the second voter at voting terminal 101-2. As another example, an election element BIGTOWN_MAYOR_RACE may be identified by a Bigtown_mayor_race_img file, stored in correspondence with GUID 403-1 1648 for the first voter, and stored in correspondence with GUID 403-2 1794 for the second voter.

At step S1204, election element identifier sending component 1303 sends the voters their respective assigned election element identifiers and the media file representing the first election element, as discussed below.

In one embodiment, the element identifiers (GUIDs) are sent separately from media files representing the election elements. Election element identifier sending component 1303 can do so by embedding the GUIDs into HTML ballots 600-1 and 600-2 as file names images referred to but not included in the HTML ballots. For example, while first HTML ballot 600-1 appears on voting terminal 101-1 as shown in FIG. 6A, the actual HTML source for first HTML ballot 600-1 may not include candidate A photo 500A, candidate B photo 500B, Bigtown Election 2008 image 501, or Bigtown Mayor Race image 502.

Instead, the HTML source may include references to these files that are only discernable by application server 104. For example, the HTML source may include an HTML element that displays an image, such as an image tag. In such embodiments, the HTML source for first HTML ballot 600-1 may include <img src=“6585.jpg”/> as a reference to Bigtown Election 2008 image 501. Similarly, the HTML source for HTML ballot 600-1 can also include <img src=“1648.jpg”/> as a reference to Bigtown_mayor_race_img 502, <img src=“4572.jpg”/> as a reference to candidate A photo 501A, and <img src=“7897.jpg”/> as a reference to candidate B photo 501B. In similar fashion, HTML source for HTML ballot 600-2 may include <img src=“1794.jpg”/> as a reference to as a reference to Bigtown Election 2008 image 501, <img src=“3590.jpg”/> as a reference to Bigtown_mayor_race_img 502, <img src=“1024.jpg”/> as a reference to candidate A photo 501A, and <img src=“5517.jpg”/> as a reference to candidate B photo 501B. Each reference specifies where in HTML ballots 600-1 and 600-2 to display the identified .jpg files. Note that, because using image tags and file extensions such as .jpg may serve to help an attacker identify file types, different HTML tags may used to identify image files, along with file extensions that do not identify the file as an image. This technique can further obscure the significance of communications across network 102.

At step S1205, electronic identifier receiving component 213 receives element identifiers from the voters, as discussed below.

Generally, voting terminals 101-1 and 101-2 will send electronic identifier receiving component 213 GUIDs corresponding to voter selections in order to inform application server 104 of the voters' choices in the election. In order to convey the correct GUID's to electronic identifier receiving component 213, voting terminals 101-1 and 101-2 can simply rely on the file names that include the GUIDs.

This can be accomplished as follows. When voting terminal 101-1 receives HTML ballot 600-1, web browser 201 on voting terminal 101-1 generates http requests to application server 104 for the files “6585.jpg,” 1648.jpg,” “4572.jpg,” and “7897.jpg.” Application server 104 can then refer to reference table 233 in order to determine which files are identified by the GUIDs 6585, 1648, 4572, and 7897 for the first voter at voting terminal 101-1 for voter ID 3518C. Application server 104 then sends the corresponding image files, i.e. Bigtown_election_img 502, Bigtown_mayor_race_img_503, candidate A photo 501A, and candidate B photo 501B.

As shown in FIG. 6A, voting terminal 101-1 displays the received image files in their respective locations within HTML ballot 600-1. The first voter can then select candidate A photo 500A, and web browser 201 can send GUID 4572 back to application server 104. In this manner, the first voter is able to identify their selection of candidate A to application server 104 in a secure manner. Even if an attacker has manipulated voting terminal 101-1 such as by storing a cascading style sheet file or a replacement image file on voting terminal 101-1, the attacker cannot cause HTML ballot 600-1 to be displayed improperly. This is because the attacker cannot know the file name beforehand, as the filename includes the generated GUID. Thus, as long as the first voter selects the correct image file for their chosen candidate, the first voter also selects the correct GUID.

Further, using this technique, even an attacker who defeats the SSL or TSL encryption over network 102 cannot discern the meaning of the GUIDs transmitted across the network without having some entity determine the meaning of candidate photo A. In most instances it will be difficult or at least time-consuming for a computer to perform the requisite processing to determine that candidate A photo corresponds to candidate A 500S, even if candidate A photo 500A includes identifying text. In some embodiments, media files such as candidate A photo 501A are rotated with different images representing the same concept, such as other photos of candidate A, or by making minor alterations to the file each time it is sent over network 102, such as by watermarking the file each time with a different watermark. In this manner, even if a human being determines that a particular file corresponds to candidate A, the file actually used for each voter to represent candidate A is different. This prevents an attacker from simply having a human identify candidate A photo 500A and candidate B photo 500B when sent to the first voter, and then identifying the files by calculating a hash of the files and using the hash to identify other instances of these files on network 102.

When voting terminals 101-1 and 101-2 send back their respective GUIDs, electronic identifier receiving component 213 receives the GUIDs for subsequent interpretation by election identifier interpreting component 214.

At step S1206, election identifier interpreting component 214 determines that the voters have selected election elements if the received element identifiers match the assigned element identifiers sent to the voters, as discussed below.

Election identifier interpreting component 214 interpret GUID 401-A1 received from the first voter at voting terminal 101-1 as a vote for candidate A, and GUID 401-B2 received from the voter at voting terminal 101-2 as a vote for candidate B. Election identifier interpreting component 214 does so by referring to reference table 233.

Obfuscation of Other Election Elements

In some embodiments, identifiers such as GUIDs are used to refer to election elements other than candidates, or indeed other than election choices. For example, each time a voter enters credentials, a new session ID can be created by application server 104. Internally, application server 104 will use the same session ID, for example by storing the session ID in reference table 233. However, application server 104 can use the technique discussed above so that the voting terminal will be reference a different session ID in each communication, e.g. the assigned GUID or other identifier. In this manner, an attacker cannot even discern that the same voter's session is being used in each communication between the voting terminal and application server 104.

In some embodiments, a voter session is in place before method 300 begins. For example, an initial session GUID may be generated before the first voter supplies credentials at step S301 of method 300. Application server 104 may use this initial session GUID to refer to the voter session for the first voter throughout method 300. In some embodiments, as method 300 proceeds, the initial session GUID is replaced, and successive GUIDs are generated by application server 104. Application server 104 and voting terminal 101-1 may refer to the first voter's session using the current GUID.

It is also possible to use identifiers such as GUIDs to represent, for example, text files. In some embodiments, text files can be used to represent candidates, e.g. by including the candidate's name in the text file. Such text files could be used in place of the media files in reference table 233. By assigning different GUIDs for the first voter and the second voter, different GUIDs can be used by the voters to use to refer to the same text file.

In some embodiments, each communication from central election site 108 to voting terminals 101-1 and 101-2 is obscured in this manner, e.g. by treating each file sent over network 102 as an election element, assigning a GUID to the file before sending the file over network 102, and referring to the file by the GUID. For example, JavaScript files and cascading style sheet (CSS) files can be referred to by GUID rather than by a conventional file name.

Assigning GUIDs to HTML elements

In the embodiment disclosed above, the GUID used for the filenames of candidate A photo 501A and candidate B photo 501B was also used by voting terminals 101-1 and 101-2 to cast a vote. Thus, for example, selecting choice response element 601-1A caused voting terminal 101-1 to send the GUID for candidate A photo 501A back to application server 104.

However, it is possible to assign different GUIDs to media files and input elements such as choice response element 601-1A, and to name the input elements in the HTML code with the corresponding GUID. In such embodiments, the GUID for choice response element 601-1A, rather than the GUID for candidate A photo 500A, would be returned to application server 104 if the first voter chose candidate A.

Note that this introduces an additional layer of security. It is relatively obvious to a human viewer that, because of the disposition of choice response element 601-1A underneath candidate A photo 500A, this checkbox is used to vote for candidate A. However, it is not so obvious that this is the case to a computer that is not preprogrammed to understand the HTML ballot format.

Using this technique, an attacking computer that compromised the security of the SSL session on network 102 would see two related GUIDs sent on network 102 to voting terminal 101-1, e.g. the GUID for candidate A photo 500A and the GUID for checkbox 601-1A. When the first voter selects candidate A, only the GUID for checkbox 601-1A will be sent over network 102 back to application server 104. Therefore, because the attacking computer cannot comprehend the relationship between choice response element 601-1A and photo 500A, the attacking computer will not be able to tell that the GUID for choice response element 601-1A sent back to the application server is also related to candidate A photo 500A.

Note that this technique can be of particular benefit if text is used to represent a candidate, rather than or in addition to a media file such as photo 500A. An attacking computer would need to do some facial or voice recognition or other complex technique to discern the meaning of a media file, but can simply read text. Therefore, if application server 104 represents candidate A with text written as “Candidate A,” it could be relatively easy for an attacker to understand that a corresponding GUID sent back to application server 104 would indicate a vote for candidate A. However, by using a GUID for a corresponding web page element such as choice response element 601-1A rather than an identifier associated with the text, it is much more difficult for an attacking computer to appreciate the significance of the communications on network 102.

Image Input Elements in an HTML Page

A refinement of the above approach is to use multiple images in place of an HTML input. For example, rather than an HTML checkbox, two images can be used for each checkbox—a picture of an unchecked box, and a picture of a checked box. Each image can have its own assigned GUID or other identifier, e.g. a GUID for an unchecked image of choice response element 601-1A and a GUID for a checked image of choice response element 601-1A. As in the other disclosed embodiments, application server 104 will store these GUIDs in reference table 233.

When HTML ballot 600-1 is first displayed, unchecked images of a vote box will be displayed for vote boxes 601-1A and 601-1B. When the first voter selects the image for choice response element 601-1A, a scripting language such as Javascript can be used to replace the unchecked image with the checked image of choice response element 601-1A. In this embodiment, two GUIDs would be used to represent choice response element 601-1A, and two GUIDs would be used to represent vote box 601-1B. The GUID for the checked image of choice response element 601-1A would be sent back to application server 104. In some embodiments, the GUID for the unchecked box of image 601-1B will also be sent back to application server 104.

When application server 104 receives these GUIDs, application server 104 can simply read reference table 233 to determine which GUID represents a checked vote box. In this case, application server 104 will be able to interpret the GUID for the image of checked choice response element 601-1A as a vote for candidate A. In this embodiment, an attacking computer would not only need to discern that checkbox 601-1A corresponds to candidate A image 500A, but would also need to appreciate the significance of the GUID for the checked image being used rather than the GUID for the unchecked image.

Refreshing GUIDs

In certain embodiments, election identifier interpreting component 214 may delete or otherwise invalidate GUIDs after a certain period of time elapses. Election identifier interpreting component 214 may also invalidate GUIDs each time a new web page is sent to a voting terminal. For example, if application server 104 sends a new web page to voting terminal 101-1, election identifier interpreting component 214 may invalidate any GUIDs assigned to the first voter at election identifier interpreting component 214.

In such embodiments, a new GUID can be generated at each time interval or for each new web page, and the new GUID can replace the existing GUID in table 233. Thus, each time a voter is presented with a web page for referring to a particular election element, the voter will be assigned a different GUID. For example, 4572 was assigned to the first voter when they were presented with HTML ballot 600-1, and 4572 was used as the file name for candidate A photo 501A. A new GUID, e.g. 2845, may be generated and replace 4572 in reference table 233 each time a web page is sent to voting terminal 101-2. Thus, for example, even though validation page 800-1 may include candidate A photo 501A, this time the file name will include the new GUID, e.g. “2845.”

As a general proposition, by shortening the time each GUID is valid, the security of system 100 can be improved. For example, if GUID 4572 were used to refer to candidate A photo 501A in both HTML ballot 600-1 and validation page 800-1, it would at least be possible for an attacker to know that the same image is being referenced in the two communications. By changing the GUID used to refer to candidate A photo 501, it is more difficult for an attacker to discern that the same file is being transmitted over network 102 in both files.

Additional refinements are possible. For example, an attacker might be able to compute a hash value for candidate A photo 501A each time the photo is sent over network 102. Even if the file name (e.g., GUID) used to reference the photo changes, the hacker may be able to tell that the same file has been sent over the network twice simply by determining that both photos hash to the same value.

Therefore, in some embodiments application server 104 will add entropy to files each time they are sent over network 102. In the case of a media file, the entropy can be added by altering virtually any characteristic of a media file, such as by adding a different watermark each time, or altering part of the file that does not affect viewing or playback of the file. In this manner, the media file will be recognizable to a human viewer at a voting terminal as the same picture even though the file itself has somewhat different data. This prevents an attacking computer from being able to tell that the two media files represent the same election element, while the human user at the voting terminal is easily able to understand the media file.

Entropy can also be added to data files. For example, if a file contains the words “Candidate A” to represent candidate A, characteristics can be altered to vary the file size without visually altering the representation. If characteristics are edited for the “Candidate A” file each time the file is sent over network 102, the file will result in different hash computations and thus will not appear to be identical from the perspective of an attacking computer. A human user will be unaware of the altered characteristics and read the text “Candidate A.” In embodiments where text is used to represent a candidate or other election element, whitespace characters can be added to the text to alter the file size.

Stateless Application Server

By using the techniques discussed above, e.g. continually generating new GUIDs to refer to each election element, it is possible to reduce the amount of time a given GUID has any meaning to application server 104. In some embodiments, each time application server 104 generates a new GUID for an election element, the GUIDs are stored only on database server 105.

Because application server 104 is not required to maintain any persistent data about the correspondence of GUIDs to election elements, it is possible to make application server 104 “stateless.” In other words, each time application server 104 conducts a step in the disclosed methods, the processing of application server 104 is independent of any state information stored on application 104. This can be beneficial if the various components of application server 104 need to pass some technical auditing to ensure they comply with security requirements in various jurisdictions.

Conclusion

Each of the components discussed above comprising the various servers in central election site 108, as well as voting terminals 101-1 and 101-2, may be implemented as hardware, software, or a combination thereof. In some embodiments, the various components are software code stored on computer-readable media used to provide computer-readable instructions for performing methods consistent with the invention. The various servers and voting terminals may comprise processors that execute the computer-readable instructions. In other embodiments, FPGA's, ASICs, or other programmable logic devices can be used to implement the components. For example, an FPGA or ASIC can be beneficially used by application server 104 to perform computationally intensive operations such as the encryption, decryption, and hashing functions described above.

Embodiments consistent with the invention can also be implemented in a variety of different architectures. The disclosed embodiments discuss various processes as being implemented on the architecture of FIG. 1. However, those skilled in the art will understand that embodiments of the invention are susceptible to implementation on virtually any networked computer architecture. Further, embodiments may be devised that combine the functionality of the various computers in a manner different from that in the disclosed architecture. Functionality for any one of the disclosed computers can be distributed across several different computers, such as by implementing one or more of the various components of application server 104 on separate computers. Functionality disclosed herein as occurring on separate computers can be combined to occur on a single computer, such as by combining database server 105 and/or web server 103 into application server 104.

Thus, the processes disclosed herein are not inherently related to any particular computer, network, architecture, environment, or other apparatus, and may be implemented by a suitable combination of hardware, software, and/or firmware. Various general-purpose machines may be used with programs written in accordance with teachings of the invention, or it may be more convenient to construct a specialized apparatus or system to perform the required methods and techniques.

The systems and methods disclosed herein may be implemented as a computer program product, that is, a computer program tangibly embodied in an information carrier. Such an information carrier may be embodied in a machine-readable storage device, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program can be written in any appropriate form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.

It is to be understood that the foregoing description is intended to illustrate and not to limit the scope of the invention, which is defined by the scope of the appended claims. Other embodiments are within the scope of the following claims. 

1. A method for ensuring integrity of an electronic ballot, comprising: creating electronic ballots for voters based on votes received from the voters; digitally signing the electronic ballots; storing the signed electronic ballots in a storage device; retrieving at least one of the signed electronic ballots from the storage device, the retrieved electronic ballot being associated with a corresponding one of the voters; verifying the digital signature on the retrieved electronic ballot; and generating an instruction to present a validation page to the corresponding voter, the validation page being based on the retrieved electronic ballot, wherein: the validation page comprises graphical content associated with at least one of the corresponding voter or a vote associated with the retrieved electronic ballot; and the validation page provides confirmation to the corresponding voter of the vote associated with the retrieved electronic ballot, based on at least the graphical content.
 2. The method according to claim 1, further comprising: encrypting the electronic ballots before digitally signing the electronic ballots; and decrypting the electronic ballots.
 3. The method of claim 2, further comprising: receiving, in response to the validation page, information confirming the vote associated with the retrieved electronic ballot; determining, in response to the confirmation, whether the retrieved electronic ballot is associated with additional unconfirmed votes; and storing the retrieved electronic ballot in a second location within the storage device, when the retrieved electronic ballot is determined to not be associated with the additional unconfirmed votes.
 4. The method of claim 1, wherein the storing comprises storing the signed electronic ballots in a first location within the storage device.
 5. The method of claim 1, further comprising: obtaining the graphical content associated with at least one of the corresponding voter or the votes associated with the electronic ballot; and generating the validation page for the corresponding voter, based on the obtained graphical content and the retrieved electronic ballot.
 6. The method of claim 1, further comprising displaying the validation page to the corresponding voter, in response to the instruction.
 7. A computer-readable medium storing instructions for causing a processor to implement a method for ensuring integrity of an electronic ballot, the method comprising: creating electronic ballots for voters based on votes received from the voters; digitally signing the electronic ballots; storing the signed electronic ballots in a storage device; retrieving at least one of the signed electronic ballots from the storage device, the retrieved electronic ballot being associated with a corresponding one of the voters; verifying the digital signature on the retrieved electronic ballot; and generating an instruction to present a validation page to the corresponding voter, the validation page being based on the retrieved electronic ballot, wherein: the validation page comprises graphical content associated with at least one of the corresponding voter or a vote associated with the retrieved electronic ballot; and the validation page provides confirmation to the corresponding voter of the vote associated with the retrieved electronic ballot, based on at least the graphical content.
 8. The computer-readable medium according to claim 7, wherein the method further comprises: encrypting the electronic ballots before digitally signing the electronic ballots; and decrypting the electronic ballots.
 9. An apparatus for ensuring integrity of an electronic ballot, the apparatus comprising: a component for creating electronic ballots for voters based on votes received from the voters; a component for digitally signing the electronic ballots; a component for storing the signed electronic ballots in a storage device; a component for retrieving at least one of the signed electronic ballots from the storage device, the retrieved electronic ballot being associated with a corresponding one of the voters; a component for verifying the digital signature on the retrieved electronic ballot; and a component for generating an instruction to present a validation page to the corresponding voter, the validation page being based on the retrieved electronic ballot, wherein: the validation page comprises graphical content associated with at least one of the corresponding voter or a vote associated with the retrieved electronic ballot; and the validation page provides confirmation to the corresponding voter of the vote associated with the retrieved electronic ballot, based on at least the graphical content.
 10. The apparatus according to claim 9, further comprising: a component for encrypting the electronic ballots before digitally signing the electronic ballots; and a component for decrypting the electronic ballots.
 11. The apparatus according to claim 10, wherein the digitally signed electronic ballots are stored on a database server before the digitally signed electronic ballots are removed from the local memory.
 12. The apparatus according to claim 9, further comprising: a component for removing the digitally signed electronic ballots from a local memory on the apparatus before retrieving the signed electronic ballots from the storage device. 